export default {
    // 赋值
    COUPONMANAGEMENTLISTFDATA(state, payload) {
        state.CouponList = payload.list;
        state.data.pageNum = payload.pageNum
        state.data.total = payload.total
        state.data.pageSize = payload.pageSize
    },
    // 修改显示的条数
    ONSHOW(state,payload){
        state.data.pageSize = payload
        console.log(payload,'payload')
    },
    // 修改当前页
    CURRENTPAGE(state,payload){
        state.data.pageNum = payload
    }
}